package org.example.workbench.service;

import org.example.workbench.domain.activity;

import java.util.List;
import java.util.Map;

public interface ActivityService {
    int insertActivity(activity activity);
    List<activity> activityList(Map<String,Object> map);
    int getTotalCount(Map<String,Object> map);
    int deleteActivityByIds(String[] ids);
    activity findOneActivityById(String id);
    int updateActivity(activity activity);
    List<activity> selectActivityIntoExcel();
    List<activity> selectSomeActivityIntoExcel(String[] ids);
    int insertActivityFromExcel(List<activity> activityList);
    activity selectActivityIntoRemark(String id);
    List<activity> getActivityByClueId(String id);
    List<activity> getActivityByClueIdAndName(Map<String,Object> map);
    List<activity> getActivityByClueIdAndNameToConvert(Map<String,Object> map);
    List<activity> getActivityByContactsId(String contactsId);
    List<activity> getActivityNotConnectContactsId(Map<String,Object> map);
}
